<?php
/**
 * Created by PhpStorm.
 * Author: ls
 * Time: 2023/10/10 13:23
 * Desc:
 */
abstract class Contract_Api_Photo
{
    use Trait_Api_Image;

    /**
     * 获取筛选条件
     * @return array
     */
    abstract function query_condition():array;

    /**
     * 筛选搜索,列表
     * @param $params
     * @return array
     */
    abstract function get_list($params):array;

    /**
     * 详情
     * @param $params
     * @return array
     * @throws Exception
     */
    abstract function get_detail($params):array;
}